    <?
    session_destroy();
    ?>
    <script>
            window.location="/regisonline/template?phppage=home.php&logout";
    </script>